import http from '../utils/http.ts'
// http://localhost:3001/admindoc/
export const loginReg = (adminname: string, password: string) => {
  return http({
    url: '/admin/admin/login',
    method: 'post',
    data: {
      adminname,
      password,
    },
  })
}
